//
//  mapVTool.m
//  DMGME
//
//  Created by ihope99.com on 15/9/15.
//  Copyright (c) 2015年 mc. All rights reserved.
//

#import "mapVTool.h"
@implementation mapVTool
-(NSArray *)address{
    if (_address == nil) {
        _address = [NSArray array];
    }
    return _address;
}
-(NSMutableDictionary *)addressDic{
    if (_addressDic == nil) {
        _addressDic = [NSMutableDictionary dictionary];
    }
    return _addressDic;
}

static mapVTool *_instance;

+(instancetype)sharedInstance{
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        _instance = [mapVTool new];
//        _instance.mbLock = NO;

        //制定的位置
//        BMKCoordinateRegion region;
//        CLLocationCoordinate2D centerCoordinate = CLLocationCoordinate2DMake(36.067, 103.84);
//        region.center = centerCoordinate;
//        _instance.region = region;
    });
    return _instance;
}
+(instancetype)showInRect:(CGRect)rect{
    
    [mapVTool sharedInstance].frame = rect;
    return [mapVTool sharedInstance];
}

@end
